<? 
	require("required/dbconnect.php");
	
	require("required/share_function.php");
	require("required/function.php"); 
	
	$c=$_GET['c'];
	
	
	$title="Payment Method";
	require("required/header.php");
?>
		
				<table width="100%">
					<td align="left" width="100%" >
					
					<table width="100%">
						
						<td align="right">
							<table id="Table_01"  height="45" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="13" rowspan="3" align="right">
										<img src="images/product_title_01.jpg" width="13" height="45" alt=""></td>
									<td width="263" height="10" style="background:url('images/product_title_02.jpg');background-repeat:repeat-x"></td>
									<td width="28" rowspan="3" align="left">
										<img src="images/product_title_03.jpg" width="11" height="45" alt=""></td>
								</tr>
								<tr>
									<td background="images/product_title_04.jpg" height="26">
										Current position <img src="images/arrow.gif"> <font style="font-size:12px;font-weight:bolder"><?= $mainpage ?></font> <img src="images/arrow.gif"> <font style="font-size:12px;font-weight:bolder">Confirmed order</font> 
									</td>
								</tr>
								<tr>
									<td style="background:url('images/product_title_05.jpg');background-repeat:repeat-x" height="9"></td>
								</tr>
						  </table>
						
						</td>						
					</table>
					</td>
					
					<tr>
						<Td height="300" valign="top">
							<table width="60%" align="center">
								<td>
								<?
									if($c==3)
									{
								?>
								<div class="dw_failed">Invalid verification code, please try again</div><br>
								<div align="center"><input type="button" value="Back" onClick="history.go(-1)" class="button"></div>
								<? 
						
							}
							else
							{ 
						
							$bid=$_GET['id'];
		
							$get_bill=mysql_query("select * from os_bill_details where id=$bid");
							$b=mysql_fetch_array($get_bill,MYSQL_ASSOC);
							
							$get_item=mysql_query("select * from os_bill_items where bid=$bid")or die("line 11".mysql_error());
							$count=mysql_num_rows($get_bill);
							$title=$b['invoice_number'];
							$email=$b['email'];
							
							
							$_SESSION['billing']=0;
						?>
						<img src="images/icons/tick.jpg" align="absmiddle">An Order Request has been sent to <?= $email ?>, if you haven't received it within 5 minutes, kindly check your junk mail or contact us for assistant. 
						<? } ?>
								</td>
							</table>
						</td>
					</tr>
			  	</table>
			
			
<? require("required/footer.php"); ?>	